package com.isoft.airportsystem.entity.dao;

import lombok.Data;

@Data
public class PageQuery {   // 分页查询
    private Integer pageNum = 1;
    private Integer pageSize = 10;
    private String orderBy;
    private Boolean asc = true;

    // 添加新构造函数以支持分页参数
    public PageQuery() {}

    public PageQuery(int page, int size) {
        this.pageNum = page;
        this.pageSize = size;
    }
}